<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <button>发送ajax</button>
</body>
</html>
<script src="js/jquery-3.1.0.min.js"></script>
<script>

    /*$(()=>{

        $("button").click(()=>{

/!*
            $.ajax({
                url:"student",
                type:"put"
            });
*!/

            $.ajax({
                url:"student",
                type:"post",
                data:{
                    "_method":"put"
                }
            });

        });

    });*/
/*
      $(function(){

          $.ajax({
              url:"student",
              type:"put"
          })

      });*/

</script>